/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/textual_context_navigation.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */

/* Makes constext navigation buttons appears as normal textual menuitems */

#context-navigation{ flex-direction: column !important; }
#context-navigation > menuitem > :is(.menu-iconic-left,.menu-icon){ display: none }

#context-navigation > menuitem{
  padding: var(--menuitem-padding,0.5em 1em) !important;
  justify-content: start !important;
  width: auto !important;
}
#context-navigation > menuitem[_moz-menuactive="true"]:not([disabled]){ background-color: -moz-menuhover !important; }
#context-navigation > menuitem::before{ content: attr(aria-label) }
